// typescript基本类型有：nubmer string boolean enum 数组 元组 void null undefined never any
var num = 1;
console.log('num: ', num);
var str = "string";
console.log('str: ', str);
var bool = true;
console.log('bool: ', bool);
//enum表示枚举
var Color;
(function (Color) {
    Color[Color["Red"] = 0] = "Red";
    Color[Color["Blue"] = 1] = "Blue";
    Color[Color["White"] = 2] = "White";
    Color[Color["Black"] = 3] = "Black";
})(Color || (Color = {}));
var enumVal = Color.Black;
console.log('enumVal: ', enumVal);
var arr = [0, 1];
arr.push(2);
console.log('arr: ', arr);
var tup;
tup = ['arr', 2];
console.log('tup: ', tup);
//void用来表示函数无返回值类型；
function hello() {
    console.log("Hello Runoob");
}
hello();
//联合类型
var multiType = 'multi';
multiType = 333;
console.log('multiType: ', multiType);
